﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Solution.Business.Entities;
using Solution.Data;

namespace Solution.Business.Component
{
    public class ContactComponent
    {
        private static ContactDAC db = new ContactDAC();

        public static List<Contact> Contact_GetByTop(string Top, string Where, string Ord)
        {
            return db.Contact_GetByTop(Top, Where, Ord);
        }

        public static void Contact_Insert(Contact contact)
        {
            db.Contact_Insert(contact);
        }

        public static void Contact_Update(Contact contact)
        {
            db.Contact_Update(contact);
        }
    }
}
